package com.example.ivideo_2211a.home

import retrofit2.Response
import retrofit2.http.GET
import retrofit2.http.Query

/**
 * Home页面的API接口
 */
interface HomeApi {
    @GET("videosimple/getRecommendSimpleVideo")
    suspend fun getRecommendVideos(
        @Query("page") page: Int,
        @Query("pagesize") pageSize: Int = 10
    ): Response<HomeEntity>
}